<div class="ibox">
	<div class="ibox-content">
		<form class="form-horizontal" id="editForm"
			action="${cxt!}/cms/advertisementPosition/update" method="POST">
			<input type="hidden" id="advertisementPositionid" name="advertisementPosition.id" value="${advertisementPosition.id!}">
			<div class="form-group">
				<label for="namebasic" class="col-md-2 control-label">${_res["advertPosition.name"]}<span class="fontColorRed">&nbsp;*</span></label>
				<div class="col-md-3 ">
					<input type="text" class="form-control" name="advertisementPosition.name" value="${advertisementPosition.name!}"
						placeholder="${_res['advertPosition.name']}" required aria-required="true">
				</div>
				<label for="namebasic" class="col-md-2 control-label">${_res["advertPosition.description"]}<span class="fontColorRed">&nbsp;*</span></label>
				<div class="col-md-3 ">
					<input type="text" class="form-control" name="advertisementPosition.description" value="${advertisementPosition.description!}"
						placeholder="${_res['advertPosition.description']}" required aria-required="true">
				</div>
			</div>

			<div class="form-group">
				<label for="namebasic" class="col-md-2 control-label">${_res["advertPosition.width"]}<span class="fontColorRed">&nbsp;*</span></label>
				<div class="col-md-3 ">
					<input type="text" class="form-control" name="advertisementPosition.width" value="${advertisementPosition.width!}"
						placeholder="${_res['advertPosition.width']}" required aria-required="true" number="true">
				</div>
				<label for="namebasic" class="col-md-2 control-label">${_res["advertPosition.height"]}<span class="fontColorRed">&nbsp;*</span></label>
				<div class="col-md-3 ">
					<input type="text" class="form-control" name="advertisementPosition.height" value="${advertisementPosition.height!}"
						placeholder="${_res['advertPosition.height']}" required aria-required="true" number="true">
				</div>
			</div>
			<div class="hr-line-dashed"></div>

			<div class="form-group">
				<label class="col-sm-2 control-label">${_res["advertPosition.status"]}<span class="fontColorRed">&nbsp;*</span></label>
				<div class="col-sm-3">
					<#dict type="select" class="form-control" name="advertisementPosition.status" dictCode="COMMON_STATUS"
					value="${advertisementPosition.status!}" required="true" />
				</div>
			</div>
			<div class="hr-line-dashed"></div>
			
			<div class="form-group">
				<div class="row">
					<div class="col-md-10 col-md-offset-2">
						<% if(hasPrivilegeUrl("advertisementPositionList")){ %>
						<button type="button" class="btn btn-warning" onClick="ajaxContent('/cms/advertisementPosition/list');">${_res["system.return"]}</button>
						<% } %> 
						<% if(hasPrivilegeUrl("advertisementPositionEdit")){ %>
						<button type="submit" class="btn btn-primary">${_res["system.confirm"]}</button>
						<% } %> <
						% if(hasPrivilegeUrl("advertisementPositionList")){ %>
						<button type="button" class="btn btn-danger" onClick="ajaxContent('/cms/advertisementPosition/list');">${_res["system.cancel"]}</button>
						<% } %>
					</div>
				</div>
			</div>
		</form>
	</div>
</div>
<#submit formId="editForm" divId="content" /> <#nav />